package com.org.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

@ApiIgnore
@RestController
public class HelloController {

    final static Logger log= LoggerFactory.getLogger(HelloController.class);

    @GetMapping(value = "/hello")
    public Object hello(){
        log.debug("debug:hello!");
        log.info("debug:hello!");
        log.warn("debug:hello!");
        log.error("debug:hello!");

        return "hello world";
    }

}
